-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6 stage - Emelyanov Vitaliy, SPbSTU #215
Conversation
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
I checked gst today and seen there uncommited report file I understand if you wouldn't check that, it's my mistake Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
Signed-off-by: vitaliy.emelyanov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 140471 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93393 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93407 lines exceeds the maximum allowed for the inline comments feature.
Signed-off-by: vitaliy.emelyanov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93426 lines exceeds the maximum allowed for the inline comments feature.
Signed-off-by: vitaliy.emelyanov <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 баллов
if (result == null) { | ||
httpSession.sendResponse(new Response(Response.INTERNAL_ERROR, Response.EMPTY)); | ||
} else { | ||
httpSession.write(new HttpChunkedHeaderQueueItem()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Можно ли было бы сделать константой этот объект с целью уменьшений количества аллокаций? И HttpChunkedEntry
Не приложены профили, к сожалению, не посмотреть, видно ли на них эти аллокации
|
||
public ByteQueueItem(byte[] bytes) { | ||
this.bytes = Arrays.copyOf(bytes, bytes.length); | ||
// я не хотел копировать тут, меня заставил код стайл( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
как вариант, если есть уверенность в безопасности, можно было бы попробовать вынести в функцию типа byte[] haha(byte[] b) { return b; }
или добавить @SuppressWarning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 93490 lines exceeds the maximum allowed for the inline comments feature.
No description provided.